package com.coding.kan_yi_dao.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author 砍一刀，不买就砍你一刀
 * @since 2023-09-20
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class GoodsNew implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 编号
     */
    @TableId(value = "goods_new_id", type = IdType.AUTO)
    private Integer goodsNewId;

    /**
     * 关联商品表的id
     */
    private Integer goodsId;

    /**
     * 字段越大越靠前
     */
    private Integer goodsNewRank;

    /**
     * 点击跳转后的地址（默认不跳转）
     */
    private String goodsNewUrl;

    /**
     * 配置项字符
     */
    private String goodsNewName;

    /**
     * 时间
     */
    private LocalDateTime goodsAddtime;

    /**
     * 假删除
     */
    private Integer goodsDelete;
    @TableField(exist = false)
    private GoodsInfo goodsInfo;

}
